package com.vision.bigDataApi.mapper.mysql;

import com.vision.bigDataApi.model.InterfaceInfo;
import com.vision.bigDataApi.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


public interface UserMapper{
    User getByUsername(String username);

    List<HashMap<String,Object>> getByInterfaceInfoAndTabelInfo(@Param("iId") int iId);

    int insertLogInterface(Map map);
      //日志接口信息
    List<Map<String,Object>> getByLogInterfaceInfo();
       //统计接口信息
    List<Map<String,Object>> getByLogInterfaceStat(@Param("interfaceId") Integer interfaceId);
    //根据接口名查询接口信息
    List<InterfaceInfo> getByInterfaceInfo(@Param("interfaceName") String interfaceName);
}
